home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 081 / filefrwd.arc / OPUSFRWD.BAT < prev    next >
Encoding:
DOS Batch File  |  1987-09-20  |  1.1 KB  |  46 lines

  1. rem    Sample batch file for FileFrwd on an Opus Outbound system
  2. rem
  3. rem    This uses ConfMail, substitute ScanMail/TossMail as needed
  4. rem
  5.  
  6. rem    run FileFrwd to get any transit files, or files whose
  7. rem    final destination is this system.
  8.  
  9.     FileFrwd -f FileFrwd.Ctl
  10.  
  11. rem    Do the Toss/Scan Stuff
  12.  
  13.     ConfMail Import Areas.BBS -K -N -F ConfMail.Out -a arce
  14.     if errorlevel 2 goto Severe_Err
  15.     if errorlevel 1 goto Do_Maint
  16.                     goto End_Import
  17.  
  18. :Do_Maint
  19.     ConfMail Maint -F ConfMail.Out
  20.     if errorlevel 2 goto Severe_Err
  21.  
  22. :End_Import
  23.     ConfMail Export Areas.BBS -M 1000 -G -O F:\Opus\Outbound
  24.     if errorlevel 2 goto Severe_err
  25.     goto End_Export
  26.  
  27. :Severe_Err
  28.     Echo Severe Error in ConfMail Processing
  29.  
  30. :End_Export
  31.  
  32. rem    Run oMMM to pack up the messages
  33.  
  34.     oMMM -hF:\Opus\Outbound -mF:\Opus\NetMail -i\Opus\Opus.BBS -c\Opus\oMMM.Ctl -p\Opus\PreScan.Ctl -sE
  35.  
  36. rem    This pass forwards any files that were just generated...
  37.  
  38.     FileFrwd -f FileFrwd.Ctl
  39.  
  40. rem    Run oMMM to pack up the attach messages just generated
  41.  
  42.     oMMM -hF:\Opus\Outbound -mF:\Opus\NetMail -i\Opus\Opus.BBS -c\Opus\oMMM.Ctl -p\Opus\PreScan.Ctl -sE
  43.  
  44. rem
  45. rem    That's it.....
  46.